package cn.liuhuan1.blogsModel.service;


import cn.liuhuan1.blogsModel.dao.LogsDao;
import cn.liuhuan1.webModelBean.api.LogsImp;
import cn.liuhuan1.webModelBean.vo.LogsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogsService implements LogsImp {

    @Autowired
    public LogsDao logsDao;

    @Override
    public List<LogsVo> getLogs(){
        List<LogsVo> logsVoList = logsDao.getLogs();
        return logsVoList;
    }
}
